CXX = gcc
CPPFLAGS =`pkg-config --cflags gstreamer-0.10`
CXXFLAGS =`pkg-config --libs gstreamer-0.10` -Wall
LDFLAGS =

OBJS = gstreamer-cli-example.o

gstreamer-cli-example: $(OBJS)
	$(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) $(OBJS)

install:
	test -d $(INSTALL_ROOT)/usr/bin/ || mkdir -p $(INSTALL_ROOT)/usr/bin/
	install -m 755 -p gstreamer-cli-example $(INSTALL_ROOT)/usr/bin

clean:
	rm -f gstreamer-cli-example *.o *~ core *.core
